function steps = runonce2(w)
projectPath = 'C:\Code\Java\workspace\RobotSim';
javaaddpath(strcat(projectPath, '\bin'));

configName = 'config';
configStr = java.lang.String(configName);
steps = sim.Sim.runOnce(configStr, w(1), w(2));